<?php
class evenementconfig 
{
   public $configuration;
   function __construct(){
     $this->configuration = array(
  'general'=>array(
    'tableName' => 'evenement',
    'isView' => False,
    'isReadOnly' => False,
    'canBeDeleted' => True,
    'hasStatus' => False,
    'hasAttach' => False,
    'description' => '',
    'orderFields' => '',
    'labelSingular' => 'Ev&eacute;nement',
    'labelPlural' => 'Ev&eacute;nements',
    'descriptor' => 'description',
    'timeStampable' => True,
    'formExtraTemplate' => '',
    'showExtraTemplate' => '',
    'indexExtraTemplate' => '',
    'filesPathName' => 'upload',
  ),
  'attributes'=>array(
    'id' => array( 
      'type' => 'integer',
      'size' => '',
      'label' => '',
      'help' => '',
      'list' => False,
      'show' => False,
      'search' => False,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => '',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'id',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'personne' => array( 
      'type' => 'BO',
      'size' => '',
      'label' => 'Organisateur',
      'help' => '',
      'list' => True,
      'show' => False,
      'search' => False,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Ev&eacute;nement',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'One To One',
      'relatedClass' => 'personnes',
      'alias' => 'personne',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'date' => array( 
      'type' => 'date',
      'size' => '',
      'label' => 'Date de l\'&eacute;v&egrave;nement',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => 'currentDate',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Ev&eacute;nement',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'date',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'heure' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Heure de l\'&eacute;v&egrave;nement',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => 'currentHour',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => 'time',
      'errorMessage' => 'Heure incorrect',
      'enumValues' => '',
      'section' => 'Ev&eacute;nement',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'heure',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'type' => array( 
      'type' => 'BO',
      'size' => '',
      'label' => 'Type d\'&eacute;v&egrave;nement',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Ev&eacute;nement',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'One To One',
      'relatedClass' => 'typeevenement',
      'alias' => 'type',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'description' => array( 
      'type' => 'blob',
      'size' => '',
      'label' => 'Commentaire',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Ev&eacute;nement',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'description',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'fichier' => array( 
      'type' => 'file',
      'size' => '',
      'label' => 'Fichier Joint',
      'help' => 'Vous pouvez joindre un fichier',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Ev&eacute;nement',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'fichier',
      'fileName' => 'fichier_joint',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'public' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Public',
      'help' => 'Visible par le client et les valideurs externes &agrave; l\'USL',
      'list' => False,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Ev&eacute;nement',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'public',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'mail' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Notification',
      'help' => 'Avertir par mail les personnes concern&eacute;es',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Ev&eacute;nement',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'mail',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'demande' => array( 
      'type' => 'BO',
      'size' => '',
      'label' => 'Demande',
      'help' => '',
      'list' => False,
      'show' => False,
      'search' => False,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Ev&eacute;nement',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'One To One',
      'relatedClass' => 'dossier',
      'alias' => 'demande',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
  ),
  'attributesWithTotal'=>array(
  ),
  );
 }
 }
